package com.ydtg.dao;

import java.util.List;

import com.ydtg.bean.Picture;
public interface PictureDao {
	//获取所有数据
			List<Picture> getall(Picture pic);
			//添加数据
			int add(Picture pic);
			//根据主键修改
			int updateByID(Picture pic);
			//根据主键删除
			int delByID(int id);
			
			//综合查询适用多种情况
			List<Picture> getTypefaceList(Picture pic);
}
